<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/pages/common/taglibs.jsp"%>
<script type="text/javascript" src="${ctx}/pages/templete/js/validate/cloud.js"></script>
<script type="text/javascript" src="${ctx}/pages/templete/js/validate/cloud/transQuery.js"></script>

<style>
.formTable{text-align:left;}

</style>

<form id="cloud_transquery_form" action="${ctx}/cloudQuery/doTransQuery.do" method="POST" target="_blank" >
	<input type="hidden" name="verficationCode" value="${config.verficationCode }"/>
	<table width="100%" class="formTable">
		<tr>
			<td width="35%" align=right>版本号:</td>
			<td>
				<select id="version" name="version">
					<option value="2.0" selected >2.0</option>
				</select>
			</td>
		</tr>
		<tr>
			<td align=right>交易代码:</td>
			<td>
				<input type="text" id="tranCode" name="tranCode" value="${config.tranCode}" size="50"/>
			</td>
			<td align="left"><span id="tranCodeTip"></span></td>
		</tr>
		
		<tr>
			<td align=right>企业ID:</td>
			<td>
				<input type="text" id="merchantID" name="merchantID" value="${config.merchantID}" size="50"/>
			</td>
		</tr>
		<tr>
			<td align=right>商户流水号:</td>
			<td>
				<input type="text" id="merOrderNum" name="merOrderNum" value="${config.merOrderNum }" size="50" autoComplete="off"/>
			</td>
		</tr>
		<tr>
			<td align=right>协议号:</td>
			<td>
				<input type="text" id="agreeId" name="agreeId" value="${config.agreeId }" size="50"/>
			</td>
		</tr>
		<tr>
			<td align=right>起始日期:</td>
			<td>
				<input type="text" id="startTime" name="startTime" value="${config.startTime }" size="50"/>
			</td>
		</tr>
		<tr>
			<td align=right>截止日期:</td>
			<td>
				<input type="text" id="endTime" name="endTime" value="${config.endTime }" size="50"/>
			</td>
		</tr>
		<tr>
			<td align=right>交易类型:</td>
			<td>
				<input type="text" id="transType" name="transType" value="${config.transType }" size="50"/>
			</td>
		</tr>
		<tr>
			<td align=right>商户查询订单号:</td>
			<td>
				<input type="text" id="merOrderId" name="merOrderId"  size="50" autoComplete="off"/>
			</td>
		</tr>		
		<tr>
			<td align=right>查询订单号:</td>
			<td>
				<input type="text" id="gopayOrderId" name="gopayOrderId"  size="50" autoComplete="off"/>
			</td>
		</tr>		
		<tr>
			<td align="right">交易金额:</td>
			<td>
				<input type="text" id="tranAmt" name="tranAmt" size="50"  />
			</td>
		</tr>
		<tr>
			<td align="right">交易状态:</td>
			<td>
				<input type="text" id="tradingStatus" name="tradingStatus" size="50" />
			</td>
		</tr>
		<tr>
			<td align=right>当前页数:</td>
			<td>
				<input type="text" id="currentPage" name="currentPage" value="${config.currentPage }" size="50"/>
			</td>
		</tr>
		<tr>
			<td align=right>每列行数:</td>
			<td>
				<input type="text" id="pageRow" name="pageRow" value="${config.pageRow }" size="50"/>
			</td>
		</tr>											
		<tr>
			<td align=right>请求时间:</td>
			<td><input type="text" id="reqTime" name="reqTime"
				value="${config.reqTime }" size="50" /></td>
		</tr>		
		<tr>
			<td align=right>编码方式:</td>
			<td><input type="text" id="charset" name="charset" value="2"
				size="50" /></td>
		</tr>
		<tr>
			<td width="30%" align=right></td>
			<td align=left width="45%">&nbsp;&nbsp;1 GBK 2 UTF-8
			<td width="25%" align=left></td>
		</tr>
		<tr>
			<td align=right>签名类型:</td>
			<td><input type="text" id="signType" name="signType"
				value="${config.signType }" size="50" /></td>
		</tr>
		<tr>
			<td width="30%" align=right></td>
			<td align=left width="45%">&nbsp;&nbsp;1.md5 2.sha 3.api
			<td width="25%" align=left></td>
		</tr>
		<tr>
			<td align=right>客户端ip:</td>
			<td><input type="text" id="transLaunchIp" name="transLaunchIp"
				value="10.10.6.100" style="width: 450px;" /></td>
		</tr>
		<tr>
			<td colspan=3 width="100%">
				<center>
					<input type="submit" name="submit" id="submit" value="开始测试" />
				</center>
			</td>
		</tr>
		
		
	</table>
</form>